package com.jiaomatech.demo.user.service.impl;

import com.jiaomatech.demo.user.dto.UserDto;
import com.jiaomatech.demo.user.service.UserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * Description: 用户操作 .<br>
 *
 * @author m-xy
 *     Created By 2019/10/18 14:20
 */
@Service
public class UserServiceImpl implements UserService {
    private final static Logger logger = LoggerFactory.getLogger(UserServiceImpl.class);

    @Override
    public UserDto findUserById(String userId) {
        // TODO Mock数据需要处理
        UserDto mock = new UserDto();
        mock.setUserId("10");
        mock.setUserName("刘强西");
        mock.setAge(12);
        return mock;
    }
}
